home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / docs / hyper / Lyrics24.lha / Update_Install < prev    next >
Encoding:
Text File  |  1998-04-29  |  2.8 KB  |  115 lines

  1. ;
  2. ;$VER: 1.1 Lyrics v2.3 => 2.4 Updater (C) 1998 by Sh0cker.
  3. (set space_needed 1200)
  4. (set #wrongOS  "You need at least OS3.0")
  5. (set #wrongCPU "You need at least a 68020 CPU")
  6. (welcome "Welcome to the Lyrics v2.3 => 2.4 Updater v1.0")
  7. (set @app-name "LyricsUpdate")
  8. (set #DESTDIR "SYS:")
  9.  
  10. ;**** Checking environment
  11. (set OS_ver (getversion "exec.library" (resident)))
  12. (if (< OS_ver (* 39 65536)) (abort #wrongOS))
  13. (set cpu_type (database "cpu"))
  14. (if (< cpu_type "68020") (abort #wrongCPU))
  15.  
  16. (message "\n\nWelcome to the Lyrics v2.3 => 2.4 Updater\n"
  17.          "(c) 1998 Sh0cker.\n\n"
  18.          "This program updates the Lyrics v2.3 installed on your AMiGA. It takes 1 more Mo on your harddisk\n\n"
  19. )
  20.  
  21. (set #DESTDIR
  22.     (askdir
  23.         (prompt "Select the drawer where you've installed the Lyrics v2.3, (do not select in RAM:)\n"
  24.         )
  25.         (help @askdir-help)
  26.         (default #DESTDIR)
  27.     )
  28. )
  29. (set @default-dest #DESTDIR)
  30. (set freespace (getdiskspace #DESTDIR))
  31. (if (< freespace space_needed)
  32.     (abort "Aborting... Not Enough DiSKSPACE SORRY! 1.2Mo needed!")
  33. )
  34.  
  35. (complete 10)
  36.  
  37. (makeassign "Lyrics" #DESTDIR)
  38.  
  39. (complete 20)
  40.  
  41. (delete "Lyrics:tabs/beautiful" "Lyrics:SONGS2/ZZTOP" "Lyrics:SONGS/bjorkdebut" "Lyrics:SONGS/homogenic" "Lyrics:SONGS/post" "Lyrics:SONGS/blackcrowes"
  42.     (prompt "Deleting Obsolete Files!")
  43.     (help "Deleting Obsolete Files!")
  44.     (confirm)
  45. )
  46.  
  47. (complete 30)
  48.  
  49. (copylib
  50.     (prompt "Updating xpkmaster.library v4.1x")
  51.     (help @copyfiles-help)
  52.     (source "libs/xpkmaster.library")
  53.     (dest "Libs:")
  54.     (noposition)
  55.     (optional fail force)
  56.     (confirm)
  57. )
  58.  
  59. (complete 40)
  60.  
  61. (copyfiles
  62.     (prompt "Copying Xpack v1.5")
  63.     (help @copyfiles-help)
  64.     (source "Xpack")
  65.     (dest "C:")
  66.     (noposition)
  67.     (optional fail force)
  68.     (confirm)
  69. )
  70.  
  71. (complete 50)
  72.  
  73. (copyfiles
  74.     (prompt "Copying Lyrics v2.3")
  75.     (help @copyfiles-help)
  76.     (source "Lyrics")
  77.     (all)
  78.     (dest #DESTDIR)
  79.     (noposition)
  80.     (optional fail force)
  81.     (confirm)
  82. )
  83.  
  84. (complete 60)
  85.  
  86. (run "xpack Lyrics:songs all"
  87.     (prompt "\n\nDo You Want To Decrunch The Songs Files 1? Warning Uncompressing XPK PPMQ Takes Some Minutes On 020 And You Need More Hd Space!\n\n")
  88.     (help "This will only work from the CLI!")
  89.     (confirm)
  90. )
  91.  
  92. (complete 70)
  93.  
  94. (run "xpack Lyrics:songs2 all"
  95.     (prompt "\n\nDo You Want To Decrunch The Songs Files 2? Warning Uncompressing XPK PPMQ Takes Some Minutes On 020 And You Need More Hd Space!\n\n")
  96.     (help "This will only work from the CLI!")
  97.     (confirm)
  98. )
  99.  
  100. (complete 80)
  101.  
  102. (run "xpack Lyrics:Tabs all"
  103.     (prompt "\n\nDo You Want To Decrunch The Tabs? Warning Uncompressing XPK PPMQ Takes Some Minutes On 020 And You Need More Hd Space!\n\n")
  104.     (help "This will only work from the CLI!")
  105.     (confirm)
  106. )
  107.  
  108. (complete 100)
  109.  
  110. (run "xpack Lyrics:Rap all"
  111.     (prompt "\n\nDo You Want To Decrunch The Rap Files? Warning Uncompressing XPK PPMQ Takes Some Minutes On 020 And You Need More Hd Space!\n\n")
  112.     (help "This will only work from the CLI!")
  113.     (confirm)
  114. )
  115.